package com.wanxi.util;

public class Exam {
    public static void main(String[] args) {
        int score = 88;
        int a=0;
        if (score >= 90 & score <= 94) {
//            System.out.println("1");
            a=1;
        } else if (score >= 95 & score <= 100) {
//            System.out.println("2");
            a=2;
        } else if (score >= 80 & score <= 89) {
//            System.out.println("3");
        } else if (score >= 60 & score <= 79) {
//            System.out.println("4");
        } else {
            System.out.println("5");
        }


        switch (a) {
            case 1:
                System.out.println(1);
                break;
            case 2:
                System.out.println(21);
                break;
            case 3:
                System.out.println(3);
                break;
            case 4:
                System.out.println(4);
                break;
            default:
                System.out.println(5);
                break;
        }
    }
}
